package com.dao;

import com.dto.excution.ListExcution;
import com.entity.AssociationInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionDao {

    int collect(@Param("uuid") String uuid, @Param("stdUserId") Integer stdUserId, @Param("teaUserId") Integer teaUserId,@Param("statusType") String statusType);

    int findCollectionWhereId(@Param("stdUserId")Integer stdUserId,@Param("teaUserId")Integer teaUserId);

    int findApplyWhereId(@Param("stdUserId")Integer stdUserId,@Param("teaUserId")Integer teaUserId);

    int findCollCount(@Param("userId")Integer userId);

    int DeleteCollect(@Param("id")Integer id);

    List<AssociationInfo> findCollect(@Param("stdUserId") Integer stdUserId, @Param("type") Integer type,@Param("limit")Integer limit);

    List<AssociationInfo> findSQlist(@Param("teaUserId") Integer teaUserId,@Param("limit")Integer limit);

}
